STEP 4: In this function, we will only use one parameter.

Remember, parameters are special variables created just for use in a function.

  • Change the first parameter name to earth_weight.
  • Delete the second parameter name in the function.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)